package com.ivc.info.dto.base;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.cs.framework.common.annotation.NotNull;
import com.cs.framework.common.bo.BoBase;

/**
 * 客户信息
 * 
 * @author hedongzhou
 * 
 */
@Entity
@Table(name = "client")
public class ClientDto extends BoBase {

	private static final long serialVersionUID = -7810159495752629011L;

	/**
	 * 客户编号
	 */
	@Id
	@Column(name = "client_no")
	@NotNull("客户编号")
	private String clientNo;

	/**
	 * 客户名称
	 */
	@NotNull("客户名称")
	private String name;

	public String getClientNo() {
		return clientNo;
	}

	public void setClientNo(String clientNo) {
		this.clientNo = clientNo;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

}
